﻿// ======================================================================
// 
//           Copyright (C) 2019-2020 湖南心莱信息科技有限公司
//           All rights reserved
// 
//           filename : PaymentCacheItem.cs
//           description :
// 
//           created by 雪雁 at  2019-06-17 10:17
//           开发文档: docs.xin-lai.com
//           公众号教程：magiccodes
//           QQ群：85318032（编程交流）
//           Blog：http://www.cnblogs.com/codelove/
//           Home：http://xin-lai.com
// 
// ======================================================================

using System;

namespace Magicodes.Admin.Core.MultiTenancy.Payments.Cache
{
    [Serializable]
    public class PaymentCacheItem
    {
        public const string CacheName = "AppPaymentCache";

        private PaymentCacheItem()
        {
        }

        public PaymentCacheItem(SubscriptionPaymentGatewayType gateWay, PaymentPeriodType paymentPeriodType,
            string paymentId)
        {
            GateWay = gateWay;
            PaymentId = paymentId;
            PaymentPeriodType = paymentPeriodType;
        }

        public SubscriptionPaymentGatewayType GateWay { get; set; }

        public string PaymentId { get; set; }

        public PaymentPeriodType PaymentPeriodType { get; set; }
    }
}